//
//  CCBaseViewController.h
//  Activity
//
//  Created by its on 15/5/7.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Masonry/Masonry.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import "CCRouter.h"
#import "CCProgressHUD.h"
#import "CCDevice.h"
#define RGB(r, g, b, a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define RGBH(x) RGB(((x>>16)&0xff),((x>>8)&0xff),(x&0xff),1)
#define IMAGE(x) [UIImage imageNamed:x]

@interface CCBaseViewController : UIViewController
@property (nonatomic, assign) CGFloat yoffset;
//- (void) setLeftItem:(UIBarButtonItem *)baritem;
//- (void) setRightItem:(UIBarButtonItem *)baritem;
//- (void) setLeftItems:(NSArray *)items;
//- (void) setRightItems:(NSArray *)items;
- (void) showErrorView:(NSString *) msg block:(void(^)())block;
- (void) hiddenErrorView;
@end
